xen: Remove two incorrect assertions.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 2 Apr 2007 15:26:23 +0000 (16:26 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 2 Apr 2007 15:26:23 +0000 (16:26 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
xen/common/domain.c

index b1f11b75d9222656218bd0a535e9e7c9fed715da..b31ad9ce47fdafdf3f3ebf936b353b5a88f0d15b 100644 (file)
@@ -425,7 +425,6 @@ void vcpu_pause_nosync(struct vcpu *v)
 
 void vcpu_unpause(struct vcpu *v)
 {
-    ASSERT(v != current);
     if ( atomic_dec_and_test(&v->pause_count) )
         vcpu_wake(v);
 }
@@ -446,8 +445,6 @@ void domain_unpause(struct domain *d)
 {
     struct vcpu *v;
 
-    ASSERT(d != current->domain);
-
     if ( atomic_dec_and_test(&d->pause_count) )
         for_each_vcpu( d, v )
             vcpu_wake(v);